package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.pojo.TbItemCat;

import java.util.List;

public interface TbItemCatService {

    //查询分类数据
    List<TbItemCat> tbItemCatshow(Long parentId);

    //添加分类数据
    void addTbItemCatshow(TbItemCat tbItemCat);

    //回显单个分类数据
    TbItemCat echoTbItemCat(Long id);

    //修改分类数据
    void updateTbItemCatshow(TbItemCat tbItemCat);

    //删除单个分类数据
    void deleteTbItemCat(Long id);
    //根据商品Id查询商品数据
    TbItem selectItemById(Long itemId);
}
